package com.yaorange.mapper;

import com.yaorange.entity.User;

import java.util.List;

/**
 * @description: 用户数据访问接口
 * @company: yaorange
 * @author: CorJ
 * @version: 1.0
 * @create: 2021-11-28 14:12
 */
public interface UserMapper {
    List<User> selectAll();

    void insertUser(User user);

    User selectByLoginName(String loginName);

    User selectUser(Integer id);
}
